package kr.saeildadim.androidexam_saeildamil.chapter6;

import kr.saeildadim.androidexam_saeildamil.R;
import kr.saeildadim.androidexam_saeildamil.chapter7.CustomViewEx;
import kr.saeildadim.androidexam_saeildamil.chapter7.DrawBitmapEx;
import kr.saeildadim.androidexam_saeildamil.chapter7.ToastLayoutEx;
import kr.saeildadim.androidexam_saeildamil.chapter7.VibrateEx;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch06_Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch06_main);
	}
	public void mOnClick(View v){		
		switch (v.getId()) {
		case R.id.ch06_btn01:
			startActivity(new Intent(this, MultiPageEx.class));
			break;
		case R.id.ch06_btn02:
			startActivity(new Intent(this, Codelayout.class));
			break;
		case R.id.ch06_btn03:
			startActivity(new Intent(this, InflationEx.class));
			break;
		case R.id.ch06_btn04:
			startActivity(new Intent(this, Inflation5.class));
			break;
		case R.id.ch06_btn05:
			startActivity(new Intent(this, LayoutParameterEx.class));
			break;
		case R.id.ch06_btn06:
			startActivity(new Intent(this, SetparameterEx.class));
			break;
		}
	}
}
